% Copyright (C) 2011
%                Ze Ji
% Octave code (Matlab compatible)
% 

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 192], 3);
mat2libsvm(trainlabels, traindata, 'lefthand.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 192], 3);
mat2libsvm(trainlabels, traindata, 'righthand.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 48], 3);
mat2libsvm(trainlabels, traindata, 'leftarm.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 48], 3);
mat2libsvm(trainlabels, traindata, 'rightarm.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 36], 3);
mat2libsvm(trainlabels, traindata, 'leftfoot.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 36], 3);
mat2libsvm(trainlabels, traindata, 'rightfoot.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 144], 3);
mat2libsvm(trainlabels, traindata, 'torso.train');

%%
clear all
[trainlabels, traindata] = prepareRandData([100, 144], 3);
mat2libsvm(trainlabels, traindata, 'cheeks.train');
